github.com/gotd/td/telegram.Client.primaryDC (method)

4 uses

	github.com/gotd/td/telegram (current package)
		conn_builder.go#L64: func (c *Client) primaryDC(dc int) mtproto.Dialer {
		conn_builder.go#L86: 		c.primaryDC(s.DC), mode, c.appID,
		pool.go#L114: 	return c.dc(ctx, dc, max, c.primaryDC(dc))
		sub_conns.go#L20: 	conn, err := c.dc(ctx, dc, 1, c.primaryDC(dc))